﻿#include <algorithm>
#include <gtest/gtest.h>
#include <iostream>
#include <vector>

#include <xy/geom/conic.h>

using namespace xy;
using namespace xy::geom;
using namespace xy::math;

TEST(TestGeomConic, Ellipse)
{
    std::shared_ptr<ellipse<3>> e(new ellipse<3>(vec3{0.0, 0.0, 0.0}, vec3{2.0, 0.0, 0.0}, vec3{0.0, 1.0, 0.0}));
}

TEST(TestGeomConic, Hyperbola)
{
    std::shared_ptr<hyperbola<3>> h(new hyperbola<3>(vec3{0.0, 0.0, 0.0}, vec3{1.0, 0.0, 0.0}, vec3{0.0, 1.0, 0.0}));
}

TEST(TestGeomConic, Parabola)
{
    std::shared_ptr<parabola<3>> p(new parabola<3>(vec3{0.0, 0.0, 0.0}, vec3{1.0, 0.0, 0.0}, vec3{0.0, 1.0, 0.0}));
}